﻿<%@ Page Language="C#" MasterPageFile="~/MainMaster.master" AutoEventWireup="true" CodeFile="Bulksms.aspx.cs" Inherits="Bulksms" Title=" ارسال رسالة جوال" meta:resourcekey="PageResource1" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<%--<%@ Register Assembly="EO.Web" Namespace="EO.Web" TagPrefix="eo" %>
--%><%--<%@ Register Src="~/FilterCustomer2.ascx" TagName="FilterCustomer2" TagPrefix="FC2" %>
--%>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">

 <link href="jqModal.css" rel="stylesheet" type="text/css" />

<%--    <script src="jquery-1.3.2.min.js" type="text/javascript"></script>
--%>    <script src="jqModal.js" type="text/javascript"></script>
    <style type="text/css">
         .collapse
    {
    	background-color: #C0C0C0;
    	display:block;
    }
    
        .result
    {
    	background-color: #C0C0C0;
    	display:block;
    }
   .mytable
   {
      background-color:#C0B0B0; 
       
       }
       
       .jqmWindow {
    display: none;
    
    position: fixed;
    top: 17%;
    left: 50%;
    
    margin-left: -300px;
    width: 800px;
    
    background-color: #EEE;
    color: #333;
    border: 1px solid black;
    padding: 12px;
}

.jqmOverlay { background-color: #000; }

/* Fixed posistioning emulation for IE6
     Star selector used to hide definition from browsers other than IE6
     For valid CSS, use a conditional include instead */
* html .jqmWindow 
{
     position: absolute;
     top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}
        </style>
     <script type="text/javascript">
       

        function there() {

            $("#dialog").jqm({ modal: true }).jqmShow();


        }
</script>

   
</asp:Content>


<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
  
    <div>
    <table align="center" border="1" frame="box" >
    <tr>
    <td>
 <%--  <h3 class="Lablcss"> <a href="#"  onclick="there();">فلترة العملاء</a></h3>--%>
    </td>
    
             <td>
             <asp:ListBox ID="customers" runat="server"  DataTextField="company" 
                     DataValueField="tele1"  EnableViewState="true"
               
                     SelectionMode="Multiple" > </asp:ListBox>
           
                 <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                     ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
                     SelectCommand="SELECT [tele1],[email1], [company] FROM [companies]">
                 </asp:SqlDataSource>
             </td>
             <td><h4>
                 <asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click">الكل</asp:LinkButton>
            </h4>
             </td>
        
    <td align="right"><h3 class="Lablcss">اختر العميل</h3></td>
        
    </tr>
    
    <tr>
    
    <td colspan="3"> <asp:TextBox ID="TextBox1" runat="server" TextMode="MultiLine" 
            Height="74px"></asp:TextBox></td>
    <td align="right"><h3 class="Lablcss"> ( موضوع الرسالة<br /> (بحد اقصى 160 حرف </h3></td>
    </tr>
    <tr>
    <td colspan="4"align="center">
    <asp:Button   CssClass="zr3" ID="send" runat="server" Text="ارسال" Font-Bold="True" 
            Font-Size="Medium" onclick="send_Click" />
    </td>
        
       
    </tr>
    </table>
        
    </div>
    <%--<div class="jqmWindow" id="dialog">

<a href="#" class="jqmClose">Close</a>
<hr />

  <FC2:FilterCustomer2 ID="FilterCustomer1" runat="server" />
     </div>--%>
    <asp:Label CssClass="Lablcss" ID="Label1" runat="server"></asp:Label>
 
</asp:Content>